using System;
using System.Collections.Generic;
using System.Text;
using Instedd.Labs.Geo.Library.Sms;
using Instedd.Labs.Geo.Library.Kml;

namespace Instedd.Labs.Geo.Library.Sms
{
    public class KmlFactorySettings : IBubbleDescriptionSettings
    {
        public KmlFactorySettings()
        {
            this.replyLinkTemplate = System.Configuration.ConfigurationManager.AppSettings["ReplyLinkTemplate"];
        }

        public KmlFactorySettings(bool includeReplyLink, bool includeSenderNumber)
            : this()
        {
            this.includeReplyLink = includeReplyLink;
            this.includeSenderNumber = includeSenderNumber;
        }

        private bool includeReplyLink = true;

        public bool IncludeReplyLink
        {
            get { return includeReplyLink; }
            set { includeReplyLink = value; }
        }

        private bool includeSenderNumber = false;

        public bool IncludeSenderNumber
        {
            get { return includeSenderNumber; }
            set { includeSenderNumber = value; }
        }

        private string replyLinkTemplate;

        public string ReplyLinkTemplate
        {
            get { return replyLinkTemplate; }
            set { replyLinkTemplate = value; }
        }

        public static KmlFactorySettings Default { get { return new KmlFactorySettings(); } }
    }
}
